package test_package;

import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;

/**
 * Created by IIGalytska on 01.04.14.
 */
public class ConfirmationPage {
    private WebDriver driver;

    public ConfirmationPage(WebDriver driver){

        this.driver = driver;

    }

public boolean checkConfirmOrderButton(){
    if (driver.findElement(By.id("make-order")).isEnabled()){


 return true;
    }else {
        return false;
    }
}



}